<script setup lang="ts">
import {ref} from 'vue'
import {useAppStore} from '@/stores/app'
import {storeToRefs} from 'pinia'

const store = useAppStore()
const {count} = storeToRefs(store)
</script>

<template>
  <h3>p2.vue 获取状态</h3>
  {{ count }}
</template>

<style scoped>

</style>
